/*
		* Author:	 Sander
		* Date:		 12-apr-2011
		* Name:		 Tracable
		* Version:	1.0
		*
		* This code is property of Sander blahblahblah copyright blahblah.
*/


package javaraytracer.Objects;

import javaraytracer.IntersectionInfo;
import javaraytracer.Materials.*;
import javaraytracer.Ray;

//PENDING:add function/property description
public abstract class Traceable
{
	protected Material material;
	public Traceable parent;

	//abstract functions
	public abstract IntersectionInfo intersect( Ray r );
	public abstract boolean hit ( Ray r );
	public abstract Material getMaterial();
	public abstract Material getMaterial(IntersectionInfo info);
}
